﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BookingHotel.ClasseDiDominio
{
    class Client
    {
        public string Name { get; set; }
        public string Surname { get; set; }
        public string CodiceFiscale { get; set; }
        public int Id { get; set; }


        public Client(string name, string surname, string codiceFiscale, int id)
        {
            Name = name;
            Surname = surname;
            CodiceFiscale = codiceFiscale;
            Id = id;
        }

        public string ToString()
        {
            return Id + ": " +  Name + " " + Surname + " " + CodiceFiscale + "\n";
        }

    }
}
